using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class BsScheduledetailEntity : EntityBase
	{
		public BsScheduledetailTable TableSchema
		{
			get
			{
				return (BsScheduledetailTable)_tableSchema;
			}
		}

		public BsScheduledetailEntity()
		{
			_tableSchema = BsScheduledetailTable.Current;
		}

		#region 属性列表
		
		public Decimal? ScheduleDetailID
		{

			
			get{ return GetData<Decimal>(BsScheduledetailTable.C_SCHEDULEDETAILID); }
			
			
			set{ SetData(BsScheduledetailTable.C_SCHEDULEDETAILID, value); }
		}

		
		public String ScheduleID
		{

							
			get{ return Convert.ToString(GetData(BsScheduledetailTable.C_SCHEDULEID));} 

			
			set{ SetData(BsScheduledetailTable.C_SCHEDULEID, value); }
		}

		
		public String WorkOrderNo
		{

							
			get{ return Convert.ToString(GetData(BsScheduledetailTable.C_WORKORDERNO));} 

			
			set{ SetData(BsScheduledetailTable.C_WORKORDERNO, value); }
		}

		
		public String PlanID
		{

							
			get{ return Convert.ToString(GetData(BsScheduledetailTable.C_PLANID));} 

			
			set{ SetData(BsScheduledetailTable.C_PLANID, value); }
		}

		
		public Decimal? ScheduleNum
		{

			
			get{ return GetData<Decimal>(BsScheduledetailTable.C_SCHEDULENUM); }
			
			
			set{ SetData(BsScheduledetailTable.C_SCHEDULENUM, value); }
		}

		
		public String Remark
		{

							
			get{ return Convert.ToString(GetData(BsScheduledetailTable.C_REMARK));} 

			
			set{ SetData(BsScheduledetailTable.C_REMARK, value); }
		}

		
		public DateTime? ExpectInStockDate
		{

			
			get{ return GetData<DateTime>(BsScheduledetailTable.C_EXPECTINSTOCKDATE); }
			
			
			set{ SetData(BsScheduledetailTable.C_EXPECTINSTOCKDATE, value); }
		}

		
		public DateTime? ActulInStockDate
		{

			
			get{ return GetData<DateTime>(BsScheduledetailTable.C_ACTULINSTOCKDATE); }
			
			
			set{ SetData(BsScheduledetailTable.C_ACTULINSTOCKDATE, value); }
		}

		
		public Decimal? InStockNums
		{

			
			get{ return GetData<Decimal>(BsScheduledetailTable.C_INSTOCKNUMS); }
			
			
			set{ SetData(BsScheduledetailTable.C_INSTOCKNUMS, value); }
		}

		
		#endregion
	}
}

